//package com.fowo.api.service.impl;
//
//import com.baomidou.dynamic.datasource.annotation.DS;
//import com.baomidou.mybatisplus.extension.conditions.update.LambdaUpdateChainWrapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//import com.fowo.api.entity.AllocateIn;
//import com.fowo.api.entity.StockOut;
//import com.fowo.api.mapper.StockOutMapper;
//import com.fowo.api.model.stock.out.StockOutOutStockApplyAction;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Service;
//
//@Service
//@Slf4j
//@DS("ds24")
//public class StockOutOutStockApplyActionImpl
//        extends ServiceImpl<StockOutMapper, StockOut>
//        implements StockOutOutStockApplyAction {
//
//    @Override
//    public void run(Long id) throws Exception {
//        new LambdaUpdateChainWrapper<>(baseMapper)
//                .set(StockOut::getStatus, "CS02")
//                .eq(StockOut::getId, id)
//                .update();
//    }
//}
